f
I want my bot to welcoming the user for the first time and ask questions about user then save it in a table,so that bot can use these info in the next chats with the user. Use Case: First user hi: User: Hi Bot : welcome…… Bot : what’s your name ? User : my name is yasmeen ….. Second user hi: User: Hi Bot: welcome yasmeen. Bot : what do you want……? User: I want ….. So how can I do this flow? Is it by a trigger or setting an expression? Note: every thing in the Case set perfectly, I just need to manage the flow of the conversations.
f
Hey there You can use the Name capture information card and then save it in a user variable instead.

https://youtu.be/ep6ZtVrxxv4?si=iOrrPr39-PFY6M8kā–¾

f
Hello, I don’t mean that , I want my bot to just talk with the user for the first time by welcoming and capturing user info . The next conversation (let’s say user interact with the bot the next day ) I want the bot directly ask the user what he wants? Not capturing the info AGIN . But thanks for your response!
p
there is something on returning users
Im not sure if there's an automatic way, but you can ask for the name then check if it exists then say [I see you are here again what can I do for you?]
f
You can capture the information and save it in a variable with user as the scope. Then at the start of your workflow you would check if the variable is not empty with an expression card and if its not you would go to a node that just asks them what they want if it is empty you would just continue like usually by getting their information
f
@fresh-fireman-491 @purple-dream-91712 oh thanks a lot! šŸ‘šŸ» I’ll thy it then
f
You are very welcome and keep us posted about how it goes
f
Hey , I have question I have like 7 workflow variables I’ve made them before.. should I convert them all the 7 to a user variable ?
Or only create one user variable and store all the 7 workflows in it … I don’t know if this work šŸ™„but I’m confused
So here what I did , I converted all the workflow variables into a user variable. The red star is the variable that I have made but I didn’t store any thing in it (I thought we will store all these variables in it but I think I’m wrong )
How can I check if the user variables are not empty ? Should I put an expression ? If yes, should i write in the the expression what ? To check all these variables?
Can you tell me where should I put the expression? and if you can give me the formula or what should i write in (AI generate code ) I’ll be happy
f
The expression would look like this user.User_Info
You shouldn't use AI Generate code for this
Hit this button
And put it in the Condition
Having them all as user variables is fine
f
But ā€œuser_info_available_Or_not ā€œ variable is empty I didn’t assign it to any value. Also, i didn’t git it how should i write the condition šŸ˜… … By the way I have a question šŸ™‹šŸ»ā€ā™€ļø: when I built the userInfo table there was a value which is (#) , it’s like unique value for each user that inserted in the table right?
f
The # is the unique record id. And you are right, I don't think we need to use the variable user_info_available_Or_not as we should just use all of the other variables
27 Views